<template>
  <div class="index">
    
    <nav class="header">	
		<router-link to="/index/ahome" active-class="on">主页</router-link>
		<router-link to="/index/peo" active-class="on">人员管理</router-link>
		<router-link to="/index/sys" active-class="on">系统管理</router-link>
	</nav>
	<div class="box">	
		<router-view></router-view>
	</div>
  </div>
</template>

<script>
export default {
  name: 'index',
}
</script>
<style>
.header a{ color:#000;}
.header a.on{ color:red;}
</style>
